
package com.insigma.business.qrcode.job.dto.search;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.insigma.business.qrcode.common.dto.BaseTotalBSearcher;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


@Getter
@Setter
public class TrainingVideoBSearcher extends BaseTotalBSearcher {

    
    private String title;

    
    private String type;

    private List<String> types;

    private String source;

    
    private String keywords;

    
    private String attachment;

    
    private String keynoteSpeaker;

    
    private String keynoteSpeakerIntroduce;

    
    private String introduce;

    
    private String catalog;

    
    private Integer catalogNum;

    
    private Boolean top;

    
    private String topWeight;

    private Boolean published;
    private Integer readNum;
    private Integer iLike;
    private Integer dislike;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date modifyDatetimeStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date modifyDatetimeEnd;

    public TrainingVideoBSearcher(int pageNo, int pageSize) {
        super(pageNo, pageSize);
    }

    public TrainingVideoBSearcher(int pageNo, int pageSize, String sortKeyValueJoint) {
        super(pageNo, pageSize, sortKeyValueJoint);
    }

}
